<?php
/**
 * @version		$Id: default_apischedule.php 284 2012-01-05 22:01:46Z kovalikp $
 */

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die();
?>

<div class="apischedule">
<form action="<?php echo JRoute::_('index.php'); ?>" method="post"
	name="characterApischeduleForm">
<fieldset><legend><?php echo JText::_('Com_Eve_Api_Calls'); ?></legend>
<table>
	<tr>
		<th class="title"><?php echo JText::_('Com_Eve_Api_Call_Name'); ?></th>
		<th class="title"><?php echo JText::_('Com_Eve_Api_Call_Published'); ?>
		</th>
	</tr>
	<?php foreach ($this->apischedule as $i => $item): ?>
	<tr>
		<td><label for="apischedule_<?php echo $i; ?>_published"> <?php echo $this->escape($item->name); ?>
		</label></td>
		<td><input type="hidden" name="apischedule[<?php echo $i; ?>][id]"
			value="<?php echo $item->id ?>"> <input type="hidden"
			name="apischedule[<?php echo $i; ?>][apicall]"
			value="<?php echo $item->apicall ?>"> <input type="checkbox"
			name="apischedule[<?php echo $i; ?>][published]"
			id="apischedule_<?php echo $i; ?>_published" value="1"
			<?php echo $item->published ? 'checked="checked"' : ''; ?> /></td>
	</tr>
	<?php endforeach; ?>
</table>
<input type="hidden" name="option" value="com_eve" /> <input
	type="hidden" name="task" value="character.apischedule" /> <input
	type="hidden" name="characterID"
	value="<?php echo $this->character->characterID; ?>" /> <input
	type="submit" class="button" value="<?php echo JText::_('Submit'); ?>" />
	<?php echo JHTML::_('form.token'); ?></fieldset>
</form>
</div>
